package com.donger.common.idempotent;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xyx
 * @date 2020-05-24 18:34
 */
@Data
@ConfigurationProperties(prefix = "boot.idempotent")
public class IdempotentProperties {

    private boolean enable;

    private String storeTokenKey = "IDEMPOTENT-TOKEN";
    /**
     * 过期时间 默认5 MIN
     */
    private int expireTime = 5;

}
